package com.psj.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Main {
    private Integer id;
    private Integer xid;
    private Integer yid;
    private Integer zid;
    private Integer userId;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date created;

    //扩展字段
    private List<Info> infoList;
    private String xname;
    private String yname;
    private String zname;
    private String username;

    private String startTime;
    private String endTime;
    private String price;

    private Integer num;


}
